﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using UT3Bots;
using UT3Bots.UTItems;
using System.Threading;
using UT3Bots.Communications;


namespace UT3UserBot
{
	public class MyBot : UTBot
	{

		//Constructor for your bot
		public MyBot() : base ("174.133.254.34", "Sitting Duck", BotMesh.Harbinger, BotColor.Red)
		{
			//Subscribe to game events
			Events.OnSpawned += new EventHandler<BotSpawnedEventArgs>(Events_OnSpawned);
		}

		void Events_OnSpawned(object sender, BotSpawnedEventArgs e)
		{
			//Restart your bot's state because we just spawned in the game
		}



		//Method to control the bot once it has connected to the server
		protected override void ProcessActions()
		{
			//Add code here to perform some actions at specific intevals
		}
	}
}
